package com.nice.nice201110;

import com.nice.nice201110.utils.SpringContextUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class Nice201110Application {
    public static void main(String[] args) {
        ApplicationContext applicationContext = SpringApplication.run(Nice201110Application.class, args);
        SpringContextUtil.setApplicationContext(applicationContext);
    }

}
